<!--
    Mango - Open Source M2M - http://mango.serotoninsoftware.com
    Copyright (C) 2006-2011 Serotonin Software Technologies Inc.
    @author Matthew Lohbihler

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see http://www.gnu.org/licenses/.
 -->
<p>Attention, this function if misconfigured may lead to overloading of mailboxes or phones of many recipients, please configure it carefully.</p>

<p>This function collects events that occurred in the inactive interval, and converts these events into e-mails or sms and sends them to recipients when is already in the active interval.</p>

<p>After enabling this function and setting the cron, the events that occurred in the inactive interval are collected, then according to the cron, the collected events are sent when we enter the active interval. Additionally, we can set a daily limit of sent messages based on this mailing list. Whether an email or a text message will be sent depends on the configuration of the event handler.</p>

<p><b>1 */15 * * * ?</b> - recommended configuration for the scheduler startup frequency is at least + 15 minutes or more, because the smallest MailingList interval is 15 minutes. </p>